Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cortex post-install script - init silently on install #642

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Jun 2, 2024

Describe Your Changes

  • This PR adds a post-install script that downloads the corresponding Cortex dependencies based on the user's hardware specs during installation. So, after installing Cortex from the npm repo, there is no need to run cortex init to get started.

  • Removed cortex init step from README

Support:

  • Nvidia GPUs (ROCm is in progress)
  • CPU with AVX-512, AVX2, AVX
  • Apple Silicon
image

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@louis-jan louis-jan force-pushed the chore/postinstall-cortex-init-silently branch from ab046bc to d3e95ac Compare June 2, 2024 13:48
@louis-jan louis-jan force-pushed the chore/postinstall-cortex-init-silently branch from d3e95ac to 423e078 Compare June 2, 2024 13:51
@namchuai
Copy link
Collaborator

namchuai commented Jun 2, 2024

LGTM. We might need to take care of the case user turn on/off AVX in the future.

@louis-jan louis-jan merged commit 1ee23c6 into dev Jun 3, 2024
@louis-jan louis-jan deleted the chore/postinstall-cortex-init-silently branch June 3, 2024 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants